package com.dnzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.dnzx.model.CategoryBO;

/**
* 商品分类Dao
 */
@Repository
public interface ICategoryDao {

	public void save(CategoryBO categoryBO);

	public void delete(Long id);

	public void update(CategoryBO categoryBO);

	public CategoryBO get(Long id);

	public List<CategoryBO> queryList(CategoryBO categoryBO);

	public List<CategoryBO> queryPage(@Param("pageSize") int pageSize,
                                      @Param("startRow") int startRow, @Param("bo") CategoryBO bo);
	
	public int queryCount(CategoryBO categoryBO);

}
